package cn.iocoder.yudao.module.ao.controller.admin.school.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 学校信息新增/修改 Request VO")
@Data
public class SchoolSaveReqVO {

    @Schema(description = "学校ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "9880")
    private Long id;

    @Schema(description = "学校名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "珠海市南方爱迪技工学校")
    @NotEmpty(message = "学校名称不能为空")
    private String schoolName;

    @Schema(description = "学校编码")
    private String schoolCode;

    @Schema(description = "学校地址")
    private String address;

    @Schema(description = "联系电话")
    private String contactPhone;

    @Schema(description = "状态（0正常 1停用）", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotNull(message = "状态（0正常 1停用）不能为空")
    private Integer status;

}